package musicstore.entity;

public class User
{
  private int id;
  private String username;
  private String password;
  private String name;
  private String address;
  private String phone;
  private String email;
  private int userRoleId;
  private String userRoleName;
  private int isInUse;
  
  public User(int id, String username, String password, String name, String address, String phone, String email,
		int userRoleId, String userRoleName, int isInUse) {
	super();
	this.id = id;
	this.username = username;
	this.password = password;
	this.name = name;
	this.address = address;
	this.phone = phone;
	this.email = email;
	this.userRoleId = userRoleId;
	this.userRoleName = userRoleName;
	this.isInUse = isInUse;
}

public String getUserRoleName() {
	return userRoleName;
}

public void setUserRoleName(String userRoleName) {
	this.userRoleName = userRoleName;
}

public User() {}
  
  public int getId()
  {
    return this.id;
  }
  
  public void setId(int id)
  {
    this.id = id;
  }
  
  public String getUsername()
  {
    return this.username;
  }
  
  public void setUsername(String username)
  {
    this.username = username;
  }
  
  public String getPassword()
  {
    return this.password;
  }
  
  public void setPassword(String password)
  {
    this.password = password;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public void setName(String name)
  {
    this.name = name;
  }
  
  public String getAddress()
  {
    return this.address;
  }
  
  public void setAddress(String address)
  {
    this.address = address;
  }
  
  public String getPhone()
  {
    return this.phone;
  }
  
  public void setPhone(String phone)
  {
    this.phone = phone;
  }
  
  public String getEmail()
  {
    return this.email;
  }
  
  public void setEmail(String email)
  {
    this.email = email;
  }
  
  public int getUserRoleId()
  {
    return this.userRoleId;
  }
  
  public void setUserRoleId(int userRoleId)
  {
    this.userRoleId = userRoleId;
  }
  
  public int isInUse()
  {
    return this.isInUse;
  }
  
  public void setInUse(int isInUse)
  {
    this.isInUse = isInUse;
  }
  
  public User(int id, String username, String password, String name, String address, String phone, String email, int userRoleId, int isInUse)
  {
    this.id = id;
    this.username = username;
    this.password = password;
    this.name = name;
    this.address = address;
    this.phone = phone;
    this.email = email;
    this.userRoleId = userRoleId;
    this.isInUse = isInUse;
  }

  public User(String username, String password, String name, String address, String phone, String email, int userRoleId, int isInUse)
  {
    this.username = username;
    this.password = password;
    this.name = name;
    this.address = address;
    this.phone = phone;
    this.email = email;
    this.userRoleId = userRoleId;
    this.isInUse = isInUse;
  }

}
